package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.base.pojo.node.LayuiTreeNode;
import cn.stylefeng.guns.base.pojo.node.ZTreeNode;
import cn.stylefeng.guns.sys.modular.system.entity.GcgWsjd;
import cn.stylefeng.guns.sys.modular.system.model.params.GcgWsjdParam;
import cn.stylefeng.guns.sys.modular.system.model.result.GcgWsjdResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 网上建店信息gcg_wsjd Mapper 接口
 * </p>
 *
 * @author liuy
 * @since 2021-05-18
 */
public interface GcgWsjdMapper extends BaseMapper<GcgWsjd> {

    /**
     * 获取列表
     *
     * @author liuy
     * @Date 2021-05-18
     */
    List<GcgWsjdResult> customList(@Param("paramCondition") GcgWsjdParam paramCondition);

    /**
     * 获取map列表
     *
     * @author liuy
     * @Date 2021-05-18
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") GcgWsjdParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author liuy
     * @Date 2021-05-18
     */
    Page<GcgWsjdResult> customPageList(@Param("page") Page page, @Param("paramCondition") GcgWsjdParam paramCondition);

    /**
     * 获取分页map列表
     *
     * @author liuy
     * @Date 2021-05-18
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") GcgWsjdParam paramCondition);

    List<GcgWsjdResult>dmList();

    List<LayuiTreeNode> layuiTree();

    List<Map<String, Object>> selectMenuTree(@Param("paramCondition") GcgWsjdParam paramCondition);

    List<ZTreeNode> menuTreeList();


    /**
     * 支付宝列表
     * @param gcgWsjd
     * @return
     */
    Page<Map<String, Object>> getZfb(@Param("page") Page page, @Param("gcgWsjd") GcgWsjd gcgWsjd);

    /**
     * 支付宝审批列表
     * @return
     */
    List<Map<String, Object>> rejectList(@Param("gcgWsjdId") Long gcgWsjdId);

    List<ZTreeNode> rejectTreeList();

    /**
     * 查图片
     * @param id
     * @return
     */
    List<GcgWsjd> selectPic(@Param("ids") String[] id);

    String getElm(@Param("yaoma") String yaoma);

    String getMt(@Param("yaoma") String yaoma);

    List<Map> getFrList();
}
